package com.xy.masterdata.infrastructure.persistent.po;

import com.xy.ddd.core.po.BasePo;
import javax.persistence.*;
import lombok.Data;

@Data
@Table(name = "APP_INFO")
public class AppInfo extends BasePo {
    /**
     * 应用名
     */
    @Column(name = "app_name")
    private String appName;

    /**
     * 应用key
     */
    @Column(name = "app_key")
    private String appKey;

    /**
     * 应用秘钥
     */
    @Column(name = "app_secret")
    private String appSecret;

    /**
     * 租户ID
     */
    @Column(name = "tenant_id")
    private Long tenantId;

    /**
     * 删除标记：0未删除;1删除
     */
    @Column(name = "is_deleted")
    private Integer isDeleted;

    public static final String ID = "id";

    public static final String APP_NAME = "appName";

    public static final String APP_KEY = "appKey";

    public static final String APP_SECRET = "appSecret";

    public static final String TENANT_ID = "tenantId";

    public static final String CREATOR = "creator";

    public static final String CREATE_TIME = "createTime";

    public static final String MODIFIER = "modifier";

    public static final String UPDATE_TIME = "updateTime";

    public static final String IS_DELETED = "isDeleted";
}